import React, {useState, useEffect} from 'react'
// import {} from './style'
import CitySelect from './CitySelect'
import { useSearchParams } from 'react-router-dom'
export default function Home() {
    const [search] = useSearchParams()
    const cityName = search.get('name') || ''
    return (
        <div>
            <CitySelect cityName = {cityName}>
                <Banners/>
            </CitySelect>
        </div>
    )
}